module.exports = {
    presets: ['module:@react-native/babel-preset'],
    plugins: [
        ['module:react-native-dotenv', {
            "moduleName": "@env",
            "path": ".env",  // 这里确保指向项目根目录的 .env 文件
            "blocklist": null,
            "allowlist": null,
            "safe": false,
            "allowUndefined": true,
            "verbose": false
        }],
        ['module-resolver',{
                root: ['./'],
                alias: {
                    '@': './src',
                },
            },
        ],
    ]
};
